Draws an image using specified bounds, clipping and image alignment.
In an output parameter, returns the array of actual image bounds.
シンタックス
'宣言
Public Overloads Sub DrawImage( _
ByVal As IImage, _
ByVal As System.Drawing.RectangleF, _
ByVal As System.Nullable(Of RectangleF), _
ByVal As ImageAlign, _
ByRef () As System.Drawing.RectangleF, _
Optional ByVal As System.Single _
)
public void DrawImage(
IImage ,
System.Drawing.RectangleF ,
System.Nullable<RectangleF> ,
ImageAlign ,
out System.Drawing.RectangleF[] ,
System.float
)
パラメータ
- image
- The image to draw.
- destBounds
- The destination rectangle.
- clipBounds
- The clipping rectangle, or null for no clipping.
- align
- The image alignment.
- imageBounds
- OUT: The actual bounds of the drawn images (can be more than one if the image is tiled).
- opacity
- The image opacity.
参照